import base from '../../scripts/base'
import utils from '../../scripts/utils'
import './download.css'


let downloadBtn = document.querySelector('.js_download')
downloadBtn.addEventListener('click', () => {
    utils.ajaxdownloadnum('download_new.html')
})

utils.baiduStatistics()
let totalNum = utils.readdownloadnum()
document.querySelector("#downloadnum").innerHTML = `下载次数：${totalNum}`